projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56ce04a
)
(multiple-value-call): Add alias.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 12 Jul 2002 17:41:00 +0000
(17:41 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 12 Jul 2002 17:41:00 +0000
(17:41 +0000)
lisp/emacs-lisp/cl.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/cl.el
b/lisp/emacs-lisp/cl.el
index 9a5677237a86315ce594ec8adc1eebd902cf1812..6242096df88d8f65958a76fe786835ffafccea0a 100644
(file)
--- a/
lisp/emacs-lisp/cl.el
+++ b/
lisp/emacs-lisp/cl.el
@@
-229,6
+229,8
@@
right when EXPRESSION calls an ordinary Emacs Lisp function that returns just
one value."
(apply function expression))
+(defalias 'multiple-value-call 'apply) ; only works for one arg
+
(defsubst nth-value (n expression)
"Evaluate EXPRESSION to get multiple values and return the Nth one.
This handles multiple values in Common Lisp style, but it does not work